home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Testing & Debugging / Virtual User tools / VU Assist Modules for MacApp / Assist Module MA 2.0.1 / C++ interface to VUAssist / UVUAssist.h < prev   
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.7 KB  |  75 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        UVUAssist.h
  3.  *
  4.  *    Contains:    C++ header file for the V.U. Assistance Hook for MacApp applications, which is
  5.  *    implemented in Object Pascal.
  6.  *
  7.  *    Written by:    Jim Schneider and Jeroen Schalk
  8.  *
  9.  *    Copyright:    © 1991 by Apple Computer, Inc., all rights reserved.
  10.  *
  11.  *  Version: 1.0d10
  12.  *
  13.  *    Change History:
  14.  *
  15.  *          8/21/91    JAS            change version
  16.  *            8/19/91    JAS            change case of of GridItemSupport to gridItemSupport
  17.  *          8/15/91    JAS          change ifndef symbol to __UVUASSIST__
  18.  *          8/15/91    JAS          change case of boolean, add GridItemSupport arg to IVUAssist
  19.  *          8/15/91    Jim          add fGridItemSupport as new data member to TVUAssist
  20.  *          8/13/91    Jim          stripped down to essentials, make TVUAssist subclass of TEvtHandler 
  21.  *          1/18/91    Jim          modified Jeroen Schalk's header posted on Virtual User Discussion 
  22.  *
  23.  */
  24.  
  25.  
  26. #ifndef __UVUASSIST__
  27. #define __UVUASSIST__
  28.  
  29. #ifndef  __UMacApp__
  30. #include "UMacApp.h"
  31. #endif
  32.  
  33. /* ================================================================== */
  34. /* Class definitions */
  35.     
  36. class TVUAssist : public TEvtHandler {
  37.     
  38.     private:
  39.       
  40.         short     fMoleRefNum;
  41.         
  42.         Boolean    fGridItemSupport; 
  43.     
  44.         public:
  45.       
  46.         virtual pascal void IVUAssist(Boolean gridItemSupport);
  47.         
  48.         virtual pascal void OpenMoleDriver(void);
  49.         
  50.         virtual pascal void SuspendMole(void);
  51.         
  52.         virtual pascal void ResumeMole(void);
  53.         
  54.         virtual pascal void SetDebuggerHook(ProcPtr NewHook);
  55.     
  56.         virtual pascal short MoleAssist(short Select, Ptr Input, Ptr Output, short *OutputSize, 
  57.             short IntResult);
  58.         
  59.     };
  60.  
  61.  
  62. /* ================================================================== */
  63. /* Variable definitions */
  64.  
  65. TVUAssist *gVUAssist;
  66.  
  67. #ifdef qDebug
  68.     
  69.     Boolean     gVUDebug;
  70.  
  71. #endif
  72.  
  73.  
  74. #endif // of #ifndef __UVUASSIST__
  75.